package com.kz.bot.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderBook {

    /**
     * 历史成交记录
     */
    public List<TradeRecord> sellHistory = new ArrayList<>();

    /**
     * 当前挂单买单
     */
    public Order currentBuyOrder;

    /**
     * 当前挂单卖单
     */
    public Order currentSellOrder;
}
